Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@entur/icons
Advanced tools
This package contains the icon components.
💡 Looking for the documentation?
npm install @entur/icons
# or if you are using Yarn:
yarn add @entur/icons
import { AddIcon } from '@entur/icons'; // Import specific icon
<AddIcon />;
Please refer to the documentation for usage information.
This package contains all SVG files, as well as a script to create optimized React components from those SVG files.
If you're adding an icon, please add the SVG file to the appropriate svg/
folder. Make sure you give it a unique name, and make sure it looks correct in a browser after exporting it.
If you're changing an existing icon, just update the existing SVG file with the new source code.
Unlike most other packages in our design system, this one doesn't use DTS-CLI or TypeScript. This is because DTS-CLI doesn't support the tools we need to optimize our SVG files. Instead, we've opted for configuring Rollup directly.
FAQs
This package contains the icon components.
The npm package @entur/icons receives a total of 3,003 weekly downloads. As such, @entur/icons popularity was classified as popular.
We found that @entur/icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.